home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / tcclib.exe / GETDBL.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-31  |  165 b   |  12 lines

  1. int  GetLine( char *s, int len, int start );
  2.  
  3. #include <stdlib.h>
  4.  
  5. double GetDouble( void )
  6. {
  7.     char s[20];
  8.  
  9.     GetLine( s, 18, 0 );
  10.     return( atof( s ) );
  11. }
  12.